/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2023-2023. All rights reserved.
 * Author: Huawei OS Kernel Lab
 * Create: Thu Aug 15 16:14:23 2023
 */

#ifndef _ASM_LIBLINUX_TIMEX_H
#define _ASM_LIBLINUX_TIMEX_H

#include <asm/arch_timer.h>

#define get_cycles()	__arch_counter_get_cntvct()
#define arch_timer_evtstrm_available() false

#define random_get_entropy()	(1)

typedef unsigned long long cycles_t;

#endif /* _ASM_LIBLINUX_TIMEX_H */
